Updated the view template