Update the task list.