Sync_Gateway retrieve Old Data

Hi there ,
I have an issue with Sync_Gateway as I run 2 environment one for test and another for production and each one was running very well until I had to copy the data from production to test server when I did that and release a build from mobile (.apk) which pointing on production server I find that data from test server on production server