Update documentation and npm package