update with docs and index.js