upgrade socket