update sockets