updating task