Update connect dependency to 2.x.x version