Update progress bar using websocket