finish changes and move directory