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

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

    return $Period->save();
  }