@leem2209 it appears you were replying to spam.
Looking at your code and what you tried I don’t see what the issue could be.
The only thing that I can come up with is if you are trying to get the value right after updating it that the old value could be caught in the cache.
Is the value actually being updated in the DB?