update Socket