updating aggregation