save race to db