update examples for p5.js beta