Update Canvas.scala