changing the dirs tree