STATE_line_set_edges
Redefines the edges of a given line. This is much faster then deleting a line and creating a new one