add priority to edit view