Update task detail.