updated to latest GX API