Updating the task name correctly