Update line lengths