Unable to bulk update connection information or credentials for published data source or replace the data sources for published workbooks.
The ability to bulk update or replace data source connection is not built in the product.
To voice your support on the future implementation of this feature, add your vote to the following Community idea:
Bulk edit data connections
001473244