set up canvas and implement update all button