public function update(array $data, $AccountType = null)
  {
    if(empty($AccountType))
    {
      $AccountType = $this->byId($data['id']);
    }

    foreach ($data as $key => $value)
    {
      $AccountType->$key = $value;
    }

    return $AccountType->save();
  }