Update update_canvas script.