update canvas size with the luigi template