fix bug in update profile credits
0.2.20