public function update($null_values = false)
 {
     $this->birthday = empty($this->years) ? $this->birthday : (int) $this->years . '-' . (int) $this->months . '-' . (int) $this->days;
     if ($this->newsletter && !Validate::isDate($this->newsletter_date_add)) {
         $this->newsletter_date_add = date('Y-m-d H:i:s');
     }
     if (isset(Context::getContext()->controller) && Context::getContext()->controller->controller_type == 'admin') {
         $this->updateGroup($this->groupBox);
     }
     if ($this->deleted) {
         $addresses = $this->getAddresses((int) Configuration::get('PS_LANG_DEFAULT'));
         foreach ($addresses as $address) {
             $obj = new Address((int) $address['id_address']);
             $obj->delete();
         }
     }
     // start of implementation of the module code - taxamo
     $taxamo_iso_country_residence = Tools::getValue('taxamoisocountryresidence');
     $taxamo_cc_prefix = Tools::getValue('taxamoccprefix');
     Taxamoeuvat::updateCCPrefix($this->id, $taxamo_iso_country_residence, $taxamo_cc_prefix);
     // end of code implementation module - taxamo
     return parent::update(true);
 }