update session to use new socket event