Update heap_array.c