fix issue with id not being passed correctly when updating priority