New template doesn't works Geoip

I have a few sources I'm sending data to logstash. Logstash creates an index based on the field "name". For example namefoobar-* , namefoobar1-* , namefoobar2-* . I need to update template for one of them.