Updating for dns/http apps
update api sample client