fetch the latest location from the db