updated updateBlockedDevice.sh to use SSL api