Fixes for template. Seperate method for updating template in Canvas. Fixed scrolling issue