On race completion, update race stats and race.