added add_credit, and moved credit update into an after_save callback