database structure here i am creating a loan repayment system with laravel and whenever i repay a loan i want to update the "principal repaid derived" and "intere