realtime update the charts