update html, worked on maxHeapify