receive data from websocket