update examples using v 2