update the config file format