fix update user credits