add device api example
update device api example