Update accessory.c