update documentation and fix typo