update doc and comment