That's not the way its done.
You create/edit plugins in your ACP and then export the product as an XML file afterwards, not try and add them directly to the XML file.
If you look in your plugins for this product, you will find you now have two associated with the
cache_templates hook. Delete one, edit the other to contain the two lines of code I gave you, and then re-export it.