updates to the diagram