Thank you for your reply.
I will try to see if I can port my code to latest version of Gromacs. But I don’t have experience with latest gromacs, so I asked in the forum with some details of new method.
https://gromacs.bioexcel.eu/t/port-my-code-to-latest-gromacs/5682
Hopefully, the developers of latest Gromacs can give me some guidances.