updating mail settings