public function update(StoreDocument $request, Document $id): RedirectResponse 	{ 		$this->validate($request, [ 			'type' => ['unique:' . $id::class . ',type,' . $id->getKey()], 		]);  		$id->update([ 			'type' => $request->enum('type', DocumentType::class), 			'text' => [ 				'en' => $request->text_en, 				'de' => $request->text_en, 				'fr' => $request->text_en, 				'es' => $request->text_en, 			], 			'protected' => $request->boolean('protected'), 			'active' => $request->boolean('active'),  		]);  		$id->storage()->handle($request->media);  		return $this->redirectFromSave('documents.list'); 	}