update examples using min