- update length of lines