update db order