templates: update links in templates