code: public FutureData<Identity> update(String id, String label, Boolean active, Boolean master) {
          String activeStr = null;
          if (active != null) {
              activeStr = active ? "active" : "disabled";
          }
          FutureData<Identity> future = new FutureData<>();
          URI uri = newParams().forURL(config.newAPIEndpointURI(IDENTITY + "/" + id));
          try {
              Request request = config.http()
                      .putJSON(uri, new PageReader(newRequestCallback(future, new Identity(), config)))
                      .setData(new NewIdentity(label, activeStr, master));
              performRequest(future, request);
          } catch (JsonProcessingException e) {
              e.printStackTrace();
          }
          return future;
      }
docs: /*
  Update an existing identity with values
  
  @param id     target to update
  @param label  new label (may be null otherwise)
  @param active new activity (may be null otherwise)
  @param master new master (may be null otherwise)
  @return The new updated Identity