update email verification handler