How to update datapack ?

Hello, I'm currently hosting a 1.21.4 on an old linux laptop I had. But I'd like to use a datapack that's been made for 1.17. (i succesfully managed to install 1.21.4 datapacks)

So is there any way to update that datapack to the latest version ? (tried to google it but found nothig helpful...)

Thank you for your support :)

NOTE : I saw other posts about this on this subreddit, but it didn't work for me :( and I posted it on r/Minecraft