update config for domain