add examples and update package.json