updated websocket server