Update template links