update the charts