added function for updating vouchers after use