emit events to all clients