change the url in template