modify priority queue