Fix to: addUpdateMeshTaskWithEdge