Make  facultative on SmartRepositoryController::onUpdate