lines updating