update mw definition for email