update to gregtech api call