updated pattern diagrams