canvas.js update