Update canvas.php