updated gateway interface