added deprecated to setoConnectionId