update priority queue example
update priority queue example