Update template struct