code: @Override
    public void update(DeployService2Impl<I> deploy, Result<I> result)
    {
      LifecycleState state = deploy.getState();
      
      if (state.isStopped()) {
        deploy.startImpl(result);
      }
      else if (state.isError()) {
        deploy.restartImpl(result);
      }
      else if (deploy.isModifiedNow()) {
        deploy.restartImpl(result);
      }
      else { /* active */
        result.ok(deploy.get());
      }
    }
docs: Checks for updates from an admin command.  The target state will be the
  initial state, i.e. update will not start a lazy instance.
  
  @param deploy the owning controller