modify lookupgate