updated facture class