Update aggregation.cpp