Update buffercollection.scala