update priority queue example