Update the config file.