Update documentation and fix typos