now using sockets to update posts