update socket struct diff