update tasks for workflow management