update flow error