update base url for service in string