How do I update this google captcha from version 2 to the latest version 3 on my site. I am using Gravity forms and I have this site built on wp

I have already done google search about this topic but did not get any specific suggestion on how can I update from google recaptcha version 2 to the latest version on this wordpress site.