update examples/*.rb