Update socketService.js