updated docs and fixed bug
updated package.json