update socket events