socket update