webscoket redraw