updating and cleaning up client stream and publisher modules interface