Update filter.scala