update the todolist