change the directory tree