update MESH helper functions