update xml.