delete deprecated classes
add priority for all record