update doc and more tolerance