Update imap response parser