modify the xml config