update undo manager