Remove updateStatistics that were used for tests