change the xml file for the changed dir