update to new template