updating templates with trove resource