refactor hardcoded urls of templates