Update UndoManagement.java