updating xml file