socketHelper update