Any potentially useful output? I'm assuming this is being done through a database or web API so I would guess it has to do with a value either not being correctly changed or not being read properly. Without any other information there isn't much of anything anyone can do to help you.