updated view template