Updated api examples