add socket event