update diagram doc