update the template with a few references