Updating those lines will update it for ALL types. By default we only automatically set the Shipper to residential if you are using ground, but updating it in the file would change it for everything.
You could save a session variable based on the user selection and then use that in the xml instead of hard coding it.