updating the credit