Apply the new template