use db for jockey/trainer, bunch of other changes