Propagate undo and redo