update config file, modify format