code: public void updateExtension(Extension extension) throws NotFound, RuntimeFault, RemoteException {
          if (extension == null) {
              throw new NullPointerException();
          }
  
          encodeUrl(extension);
  
          getVimService().updateExtension(getMOR(), extension);
      }
docs: Update an existing plugin with modified information If
  <code>extension</code> is null then a <code>NullPointerException</code> is
  thrown.
  
  @param extension The extension object with updated information
  @throws RemoteException
  @throws RuntimeFault
  @throws NotFound        either because of the web service itself, or because of the
  service provider unable to handle the request.