public function update($null_values = false)
 {
     if (!$this->deleted && $this->isUsed()) {
         $current_tax_rules_group = new TaxRulesGroup((int) $this->id);
         if (!($new_tax_rules_group = $current_tax_rules_group->duplicateObject()) || !$current_tax_rules_group->historize($new_tax_rules_group)) {
             return false;
         }
         $this->id = (int) $new_tax_rules_group->id;
     }
     return parent::update($null_values);
 }