testing gateservernode. update for lua api