updated npm package
updated examples