Adds Task.delete flow and fixes Task.task_update flow