update for use with custom domain name