update static url to template