update doc and lib