updated template view