Upgrade undo-tree