updating email setting