update public config file