Updating xml file