update example for nfc.share and nfc.write