update the configuration file