updated dmgcanvas