Update task flow