update get_miles_per_client func