Update and process XML