update doc and regenerate C