update doc and fix checkout