Fix update task, need to fix delete of task