updated patterns