added updateView() for canvas engine