update flow