index: fix up template to match model changes.