update connections sample