api examples update