working on socket events for topics