public function run()
 {
     DB::table('otherincomesources')->delete();
     $collection = [['source' => 'ppclaim', 'description' => 'PP Claim'], ['source' => 'other', 'description' => 'Other']];
     foreach ($collection as $record) {
         Otherincomesource::create($record);
     }
 }
 public function update($id)
 {
     // save updated
     $record = $this->records->find($id);
     if (!$record) {
         Otherincomesource::create(Input::all());
         return $this->respond($record);
     }
     $record->fill(Input::all())->save();
     return $this->respond($record);
 }