Updated the container into a canvas.