Fixed get locations with date

Now every time it resolves the address it updates the database.