updating diagram to clarify