Upgrade structure of extensions template.