Update elasticsearch url in template