change the socket