update edge_line