Update connection numbers.