Update host to url.