change in updateStats()