Updates task list.