Document priority queue
Update paths