add url and subdomain to weights