code: @Service
      public String updateTask(TaskResult taskResult) {
          LOGGER.debug("Update Task: {} with callback time: {}", taskResult, taskResult.getCallbackAfterSeconds());
          executionService.updateTask(taskResult);
          LOGGER.debug("Task: {} updated successfully with callback time: {}", taskResult, taskResult.getCallbackAfterSeconds());
          return taskResult.getTaskId();
      }
docs: Updates a task.
  
  @param taskResult Instance of {@link TaskResult}
  @return task Id of the updated task.