Update StreamingAverage.scala