public function update(StoreBlog $request, Blog $id): RedirectResponse 	{ 		$this->validate($request, [ 			'slug' => ['required', 'string', 'max:50', 'unique:' . $id::class . ',slug,' . $id->id], 			'slug_en' => [ 				'required', 'string', 'max:50', 				Rule::unique(Translation::class, 'value') 					->ignore($id->id, 'item_id') 					->where(function ($query) use ($id) { 						return $query->where('item_type', get_class($id)); 					}), 			], 		]);  		$id->update([ 			'title' => $request->title, 			'slug' => $request->slug, 			'body' => $request->body, 			'published_at' => formatTimestamp($request->published_at, 'Y-m-d H:i:s', $request->user()->timezone), 			'seo_name' => $request->seo_name, 			'seo_description' => $request->seo_description, 		]);  		$id->syncTagsByName($request->tags); 		$id->storage()->handle($request->media);  		$tagsEn = $request->tags_en;  		$id->syncTagsByName($request->tags, function (Tag $tag, ?int $index = null) use ($tagsEn): void { 			$tagsEn ??= [];  			if (is_string($tagsEn)) { 				$delimiter = Blog::getTagDelimiter(); 				$tagsEn = explode(empty($delimiter) ? ' ' : $delimiter, $tagsEn); 			}  			$tag->updateTranslations([ 				'name' => [ 					'en' => $tagsEn[$index] ?? null, 				], 			]); 		});  		$id->updateTranslations([ 			'title' => [ 				'en' => $request->title_en, 			], 			'slug' => [ 				'en' => $request->slug_en, 			], 			'body' => [ 				'en' => $request->body_en, 			], 			'seo_name' => [ 				'en' => $request->seo_name_en, 			], 			'seo_description' => [ 				'en' => $request->seo_description_en, 			], 		]);  		return $this->redirectFromSave('blogs.list'); 	}