update  edge_line