fixed updateModule bug in canvasID initialization