Update document.

- add installation
- improve function explanation