updated edit mode for email and name