update task data