code: public Trigger updateTrigger(BigInteger alertId, BigInteger triggerId, Trigger trigger) throws IOException, TokenExpiredException {
          String requestUrl = RESOURCE + "/" + alertId.toString() + "/triggers/" + triggerId.toString();
          ArgusResponse response = getClient().executeHttpRequest(ArgusHttpClient.RequestType.PUT, requestUrl, trigger);
  
          assertValidResponse(response, requestUrl);
          return fromJson(response.getResult(), Trigger.class);
      }
docs: Updates an existing trigger.
  
  @param   alertId    The ID of the alert owning the trigger.
  @param   triggerId  The ID of the trigger to update.
  @param   trigger    The updated trigger information.
  
  @return  The updated trigger.
  
  @throws  IOException  If the server cannot be reached.
  @throws  TokenExpiredException   If the token sent along with the request has expired