saving data and updating email address