test update flow