update configuration file.