A federal appeals court has upheld a ruling demanding former BK Racing owner Ron Devine pay $31 million, marking a substantial development in the fallout from the NASCAR team's bankruptcy.