/**
  * Update the specified resource in storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function update(Request $request, $id)
 {
     //
     $data = $request->all();
     $rMethodology = \App\RegistryMethodology::findOrFail($data['id']);
     $rMethodology->fill($data);
     $rMethodology->save();
     if ($request->ajax()) {
         return response()->json(['status' => 'true', 'data' => 'The Config methodology was save successful']);
     }
 }