Update to-do and writeout