update statistic.js