B-spline surface control points increase

Hello!
I try to create an arc with three points and stretch it to get a local cylinder with a given direction and length.Then the surface is converted into B-spline surface, and the control points of the Poles() function can be viewed as (1, 2, 1, 3).
Now I want to add a certain number of control points in the U and V directions, but for some reason, I can't add them.Here is some of the code:
TColStd_Array1OfInteger newMultsU(1, 20);
TColStd_Array1OfInteger newMultsV(1, 20);
TColStd_Array1OfReal newKnotsU(1, 20);
TColStd_Array1OfReal newKnotsV(1, 20);
for (int i = 1; i <= U_Number; i++)
{
for (int j = 1; j <= V_Number; j++)
{
newMultsU.SetValue(i, 1);
newMultsV.SetValue(j, 1);
newKnotsU.SetValue(i, (i / (U_Number + 1) - 0.5) * m_pPMRLNumber);
newKnotsV.SetValue(j, (j / (V_Number + 1) - 0.5) * m_pPMRWNumber);
}
}
bsplineSurface->InsertUKnots(newKnotsU, newMultsU);
bsplineSurface->InsertVKnots(newKnotsV, newMultsV);