updating content of the task