Update the configuration file