update to heapify