update the user and mailer