code: private function updateBase(array $values, array $ids)
      {
          $query = $this->model->newQuery()
              ->whereIn($this->model->getKeyName(), $ids)
              ->getQuery();
  
          return $query->update($values);
      }
docs: Update values in base table
  
  @param array $values
  @param $ids
  @return mixed