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();
    }
Updates a task.

@param taskResult Instance of {@link TaskResult}
@return task Id of the updated task.
core/src/main/java/com/netflix/conductor/service/TaskServiceImpl.java