This function updates the config file being used by the script.
This code is now in its own Class. This is to make it easier to do reporting and updating.