yay catgories get updated properly according to the selection of the
user.