Update statistics.cpp