update RFID function for web client