update lines