minHeap updated