update doc & pep8