save gateway info