update config with new cname