Update url and baseurl.