socket connect updated