update doc and add default option