Hi,
I think you are submitting the form first and then setting the value.
First add the rule to change value and second rule should be submit the form to share point.
If you are using code to “Submit the form to share point”, Set the value in the code before submitting to share point, Instead of using rule to change values.