update the device related func
Merge remote-tracking branch 'origin/master'