update the templates for host