update template to reflect new interface