edit client thread class