please add method: Update database on the fly: for example: city.update('/path/to/new/GeoLiteCity.dat');