real-time update stats via websockets