update undo things