code: public void updateServiceUri(String serviceName, String providerId,
              String uri) {
          getServiceDirectoryClient().updateInstanceUri(serviceName, providerId,
                  uri, disableOwnerError);
      }
docs: Update the uri attribute of the ProvidedServiceInstance
  The ProvidedServiceInstance is uniquely identified by serviceName and providerId
  
  @param serviceName
  the serviceName of the ProvidedServiceInstance.
  @param providerId
  the providerId of the ProvidedServiceInstance.
  @param uri
  the new uri.