update heapuaage code