public function update($null_values = false) { if (parent::update($null_values)) { // Refresh cache of feature detachable because the row can be deactive Configuration::updateGlobalValue('PS_VIRTUAL_PROD_FEATURE_ACTIVE', ProductDownload::isCurrentlyUsed($this->def['table'], true)); return true; } return false; }