socket model update