fixed update problem and stopped mails