update db.patscore