Read a chip card and later in the transaction change EMV tags and generate new ARQC

Hello,

We have develop a very particular flow that requires the customer to insert the card, which is read with the payment fragment and returns a json with all EMV tags, and then selects a transaction fee before sending the transaction to the host. What we would like to accomplish is the setting of some of the EMV tags like transaction type 9C based on the aid selected, and the additional amount tag, but after the card was read by the payment fragment. Can you please share with us how to modify those tags.

thanks