update task and subtask in detail view