Update gear.scala