updates for canvas graphics