code: public void updateStep(final String uuid, final Consumer<StepResult> update) {
          final Optional<StepResult> found = storage.getStep(uuid);
          if (!found.isPresent()) {
              LOGGER.error("Could not update step: step with uuid {} not found", uuid);
              return;
          }
  
          final StepResult step = found.get();
  
          notifier.beforeStepUpdate(step);
          update.accept(step);
          notifier.afterStepUpdate(step);
      }
docs: Updates step by specified uuid.
  
  @param uuid   the uuid of step.
  @param update the update function.