You cannot rename an object while it is still deployed to an execution group. Instead, first remove the deployed object from the execution group. Then, having renamed it and refreshed it in the broker archive (bar) file, deploy the bar file again.