updated socketService