store the donation details back in the database