Hi,
Basically you should look to upgrade the existing ADFS instance and follow this article for detailed information as this will assist you and plan this first in the Dev/Test Env.
== Hope this helps. Please accept as answer and do a Thumbs-up to upvote this response if you are satisfied with the community help. Your upvote will be beneficial for the community users facing similar issues.