code: @Deprecated
      public MergeRequest updateMergeRequest(Object projectIdOrPath, Integer mergeRequestIid, String targetBranch,
              String title, Integer assigneeId, String description, StateEvent stateEvent, String labels,
              Integer milestoneId) throws GitLabApiException {
  
          Form formData = new GitLabApiForm()
          .withParam("target_branch", targetBranch)
          .withParam("title", title)
          .withParam("assignee_id", assigneeId)
          .withParam("description", description)
          .withParam("state_event", stateEvent)
          .withParam("labels", labels)
          .withParam("milestone_id", milestoneId);
  
          return updateMergeRequest(projectIdOrPath, mergeRequestIid, formData);
      }
docs: Updates an existing merge request. You can change branches, title, or even close the MR.
  
  <p>NOTE: GitLab API V4 uses IID (internal ID), V3 uses ID to identify the merge request.</p>
  
  <pre><code>GitLab Endpoint: PUT /projects/:id/merge_requests/:merge_request_iid</code></pre>
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param mergeRequestIid the internal ID of the merge request to update
  @param targetBranch the target branch, optional
  @param title the title for the merge request
  @param assigneeId the Assignee user ID, optional
  @param description the description of the merge request, optional
  @param stateEvent new state for the merge request, optional
  @param labels comma separated list of labels, optional
  @param milestoneId the ID of a milestone, optional
  @return the updated merge request
  @throws GitLabApiException if any exception occurs