upgrade connect dep to 3.x