update email class