Update the configuration file.