Abstract socket.io client logic to separate script
Bulk updates