Update .xml file