update config file.