diff --git a/docs/Aggregation/Avg.md b/docs/Aggregation/Avg.md
index c72b519d98fb1da42cf1b9d9cb103e7966cd10c3..1a9e2212598f1c1dacfbc8be424f408acc73956e 100644
--- a/docs/Aggregation/Avg.md
+++ b/docs/Aggregation/Avg.md
@@ -10,7 +10,7 @@ A single-value metrics aggregation that computes the average of numeric values t
 ```JSON
 {
     "aggregations": {
-        "agg_avg_grade": {
+        "avg_grade": {
             "avg": {
                 "field": "grade"
             }
@@ -31,4 +31,4 @@ $search->addAggregation($avgAggregation);
 $queryArray = $search->toArray();
 ```
 
-[1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-avg-aggregation.html
\ No newline at end of file
+[1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-avg-aggregation.html