Updated some Bluetooth code