Update Heap Sort