update config for custom domain