markup, $this->deviceId); Device::find($this->deviceId)->update(['current_screen_image' => $newImageUuid]); if ($this->pluginId) { // cache current image Plugin::find($this->pluginId)->update(['current_image' => $newImageUuid]); } ImageGenerationService::cleanupFolder(); } }