Update Analytics.scala