public function update($id) { $country = Country::find($id); //Set updated $country->save(); return $country; }