code: public Request<Connection> update(String connectionId, Connection connection) {
          Asserts.assertNotNull(connectionId, "connection id");
          Asserts.assertNotNull(connection, "connection");
  
          String url = baseUrl
                  .newBuilder()
                  .addPathSegments("api/v2/connections")
                  .addPathSegment(connectionId)
                  .build()
                  .toString();
          CustomRequest<Connection> request = new CustomRequest<>(this.client, url, "PATCH", new TypeReference<Connection>() {
          });
          request.addHeader("Authorization", "Bearer " + apiToken);
          request.setBody(connection);
          return request;
      }
docs: Update an existing Connection. A token with scope update:connections is needed. Note that if the 'options' value is present it will override all the 'options' values that currently exist.
  See https://auth0.com/docs/api/management/v2#!/Connections/patch_connections_by_id
  
  @param connectionId the connection id.
  @param connection   the connection data to set. It can't include name or strategy.
  @return a Request to execute.