updated total amount field