fix priority update route to allow for id matching in mongo