update chart js statistic