change undo directory
update undo directory