update doc and config