update doc matrix