Updates Websockets communication