functionalty to update votes for moderator
emitting events from moderator
emmit event to refresh