updated the XImageCanvas control