node socket update