updates CNAME and url.