Realize get/set HTML and update method for canvas