Update Canvas.java