public function update(\SplSubject $eventManager) {
        $this->isUpdate = true;
        if ($eventManager->event->function !== NULL) {
            $this->{$eventManager->event->function}($eventManager);
        }
    }