Greate post detailing how to use SQL Server Profiler to capture the XMLA from BIDS Helper and using it to update SSAS cube calculations using a script.
http://blog.davyknuysen.be/2010/05/05/xmla-script-to-deploy-mdx-calculations/comment-page-1/#comment-4506