Updates the diagram slightly.