if paid update total_paid