Update template formatting