update aggregation docs to show how to build an aggregation correctly