support to update halfEdge structure