update undo levels
lots of updates found on a VIM thread