update device ids