Change location of priority in the table