Update file for todolist function