updated a task