Updated the canvas example