change span of external template