Realm Increase for Cultivation game based on wuxia novels

so i want the player to do sit ups to increase the body refinement stat which is an int value in the statz folder under the player, i have the animation down, the stat increases, but when the player reaches a certain stat their Cultivation Realm or Rank if you will, doesnt change how i want it to after it reaches the required amount i want it to change their realm, but it seems to be not working, i’m assuming its because im user greater or equal than, but i cant think of a better way to do this