Is there a way to update RDS version with terraform

Hi Team,
Is there a way to update RDS version with terraform. I searched on google but no luck.

Have you tried simply changing the version of the RDS database type to the new version and running a terraform apply?

Yes, I tried it but it is replacing rds instances