format doc and update python