added editing of edges with the data manipulation, as suggested by #169