code: public function update(PackageInterface $initial, PackageInterface $target, $path)
      {
          $name = $target->getName();
          $from = $initial->getFullPrettyVersion();
          $to = $target->getFullPrettyVersion();
  
          $actionName = VersionParser::isUpgrade($initial->getVersion(), $target->getVersion()) ? 'Updating' : 'Downgrading';
          $this->io->writeError("  - " . $actionName . " <info>" . $name . "</info> (<comment>" . $from . "</comment> => <comment>" . $to . "</comment>): ", false);
  
          $this->remove($initial, $path, false);
          $this->download($target, $path, false);
  
          $this->io->writeError('');
      }
docs: {@inheritDoc}