public function update(Request $request, $id)
 {
     $state = State::whereId($id)->firstOrFail();
     $state->state_abr = $request->get('state_abr');
     $state->state = $request->get('state');
     $state->save();
     Toastr::success('State updated.');
     return redirect(action('StatesController@index', $state->id));
 }