update coins collected and debt
added debt and coins collected update functions to the dal