update the device related func