updating the task list