updated diagrams