markup); Device::find($this->deviceId)->update(['current_screen_image' => $newImageUuid]); \Log::info("Device $this->deviceId: updated with new image: $newImageUuid"); if ($this->pluginId) { // cache current image Plugin::find($this->pluginId)->update(['current_image' => $newImageUuid]); } ImageGenerationService::cleanupFolder(); } }