Ensure the url is changed when the domain is updated