update task info