updated to support updating the entered email addresses