Updating the diagram