edits to the diagram