 			informDelegate = true
 		case .previewInitialized(let initData):
 			previewDelegate?.previewIdReceived(response: initData)
-		case .previewUpdate(let data):
+		case .previewUpdated(let data):
 			previewDelegate?.previewUpdateReceived(response: data)
 		default:
 			informDelegate = true

					observer.send(error: err)
					return
				}
				guard case let SessionResponse.previewUpdate(initData) = response else { fatalError("invalid response data") }
				observer.send(value: initData.previewId)
				observer.sendCompleted()
			}

	func send(command: SessionCommand) -> Bool {
		do {
			let data = try conInfo.encode(command)
			Log.info("ssending \(String(data: data, encoding:.utf8) ?? "foo")")
			self.webSocketWorker.send(data: data)
		} catch let err as NSError {
			Log.error("error sending message on websocket: \(err)", .session)
