updated the index for joyswitch