Update heap.c