replaced diagram links