I just want to know how to store the credit left and total credit data in profile because when i change profile the credit data for the past profile is showing