rename directory to final name