Well after you change the values you'll have to save them back to the XML file. I'd create a Save method, called after making all the changes, instead of saving the file every single time a change is made.