update raw_to_xml and xml file