[docs api] update for the new movingAverage api