Groovy script to edit existing sonar installation

Hello,

We upgrade sonarqube and need to update the sonar details in jenkins controller.

So our scenario is to edit existing installation.

Can you please share the scripts?

Ex. Existing sonar name is enterprise_dev, we want to turn this to enterprise_dev_backup