/**
  * @param PowerDnsObjectInterface $domainObj
  * @param array $options
  * @param bool $force
  * @throws Exceptions\ValidationException
  * @return \SysEleven\PowerDnsBundle\Entity\Domains
  */
 public function update(PowerDnsObjectInterface $domainObj, array $options = array(), $force = false)
 {
     $domainObj = parent::update($domainObj, $options, false);
     /**
      * @type Domains $domainObj
      */
     if ($domainObj->needsSoaUpdate()) {
         $this->updateSoa($domainObj);
     }
     return $domainObj;
 }
 /**
  * Updates a given record in the backend, updates the soa serial number, and
  * creates a history entry for the record
  *
  * @param PowerDnsObjectInterface $obj
  * @param array $options
  * @param bool $force
  * @return mixed
  */
 public function update(PowerDnsObjectInterface $obj, array $options = array(), $force = false)
 {
     /**
      * @type Records $obj
      */
     $obj = parent::update($obj, $options, $force);
     if ($obj->getType() != 'SOA') {
         $this->updateSoa($obj->getDomain());
         $this->createHistory($obj, 'UPDATE');
     }
     return $obj;
 }