Updates directory name.