Update in canvaswrapper