updating template references to be local vs public