public function update(UpdateOrder $request, Order $id, OrderService $orderService): OrderResource 	{ 		try { 			DB::beginTransaction();  			$orderData = OrderData::createFromRequest($request);  			$orderService->updateOrder($orderData, $id);  			$orderService->updateOrderStatus($id, $request->status_id);  			$orderService->deleteOrderItems($id);  			$orderService->createOrderItems($request->products, $id);  			$id->storage()->handle($request->media);  			DB::commit(); 		} catch (Throwable $throwable) { 			DB::rollBack();  			throw $throwable; 		}  		$user = $request->user();  		$notificationTargets = User::getAllNotifiableModelsIds([$user->user_id]); // get all users of the app accept for current  		NewNotification::dispatch( 			PushNotificationType::UPDATED_ORDER, 			$id, 			$user, 			$notificationTargets 		);  		return new OrderResource($id->loadIncludes()); 	}