upgrade s2s protocol