updated pattern