updated the docs and usage