return to old directory after update