modifications to populator for template updates