revise mesh edit and new functions and form to handle special mesh types