update wall switch for XBee