update email pattern