Update Stream.scala