fixed edge data pointer update problem