publisher and client updated to use them in bees