Atom types in fix bond/react command

Dear all,
I am using the fix bond/react command to simulate the Transesterification Reaction in Hydroxy-Ester Network. According to the lammps algorithm for fix bond/react command the atoms types around the Binding Atoms must be the same in the pre and post-reaction template. But in my system, the atom types around the Binding Atoms are different in the pre and post-reaction template.

How to simulate reactions in this type of system using bond/react command?