Update base.scala