apply change of directory structure