Request for Changing Tax Template in Submitted Purchase Order

I have submitted my Purchase Order (PO) and created an invoice. I received some items before the tax change, and some items are still pending. Now, I want to change the tax template for the pending items in the existing PO without amending the submitted PO or generating a new PO number. Is this possible? Could you please suggest any solution or method for updating it? I am using a Frappe Cloud production site.

If you don’t want to amend the form and still want to make changes you can change value in database using server script
Though it is not recommended

Thank you