Set version in templates