update debt calcul, select