Updating socket