update geoip code to use new maxmind geoip2