Saved the location updates to the database.