add subcriber and publisher of selected box