Update to output all the changed routes

also change the output file to xml