Updated Priority queue