update db method ordering to new standard