Update util for canvas