Update Nexus version in AWS CloudFormation

Does version updates of Nexus Repo Manager work when deployed using AWS CloudFormation?

I tried but it still says version 3.15.2-01 even though I tried to update to version 3.21.1
By setting this tag

{
“key”: “Version”,
“value”: “3.21.1-01”
}

I deployed using this site
https://guides.sonatype.com/repo3/quick-start-guides/aws-for-repo/

Update https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks.html