VRep simulation - change motors' speed



I am simulating an Ergo Jr in VRep and I try to change the motors’ speed (as it is now, it is too fast) but it doesn’t change the moving speed when I run the code (both directly or using the rest api).

Is there a way to change this?