write to edgelist added