update mail settings and other things