use broadcast instead of io.emit
fix stats for new entry