Update statistic.py