integrate_updates_from_xml bug fix