AWS Provider Plugin upgrade

Hi Community,

I am planning to upgrade my AWS provider from 3.39 to the latest, can anyone guide me
managing statefile in s3 bucket and locking in dynamoDB
do i need to upgrade statefile manually because i see lot of breaking changes if i update provider’s plugins

please do let me know wht would be right approach