device api updated