update to allow multiple subdomains