What does `terraform init -upgrade` do?

Thanks aram. by “remote” do you mean remote state(which is in a s3 file) or remote resources on AWS? So the remote s3 state file does get updated to show the provider version?