update doc - add basic diagram