code: protected function _update(string $entityName, ?string $name = null, ?string $id = null): Pattern
      {
          return $this->pattern(
              $this->idAction($entityName, $id, 'edit'),
              $this->name($name, 'update')
          )->setMethods(['PUT', 'PATCH']);
      }
docs: entityName -> /users
  
  PUT/PATCH   users.update    /users/{id}/edit
  
  @param string $entityName
  @param null|string $name
  @param null|string $id
  @return Pattern