In case if you are using visual studio , please follow the below steps:
- Right click on the Model BIM file and click on view code
- This would open the XMLA code page and you can directly update the data source name and all its corresponding references and click save.
This would be the most efficient way to rename a source :)