fig. 3 - Update and undo