update the config file.