code: public function update(Request $request)
      {
          foreach ($request->all() as $key => $value) {
              if (substr($key, 0, 8) == 'setting_') {
                  $skipSave = false;
                  $key = substr($key, 8);
                  if (! $skipSave) {
                      $this->settingRepository->save($key, $value);
                  }
              }
          }
  
          Flash::success(trans('l5starter::messages.update.success'));
  
          return redirect(route('admin.settings.index'));
      }
docs: Update the specified Setting in storage.
  
  @param Request $request
  @return Response