Bring statistic in line with new database model