update examples/main.js