update task define