code: public function update(RolesRequest $request, $id)
      {
          $role = Role::findOrFail($id);
          $role->update($request->only($role->getFillable()));
          return redirect()->route('role.manager.index');
      }
docs: Update the specified resource in storage.
  
  @param  int  $id
  @param  RolesRequest $request
  @return \Illuminate\Http\Response