upgrade process and parse the xmls