edit XML file