update pyheap