update calc number of chains (Length)