Update priotiry type