update views for websocket.