change update debt tool to get id