Update cachedCanvas.js