Update for Writing and Reading Instrument Xml