update canvasRenderer to get an ID.