Hi Hariharan,
What i meant to say was that i used the same code at 3 different places mentioned in my reply. but it doesn't work on Transactions and Intercompany Tabs.
I tried to debug updateDesign method on it but breakpoint isn't getting hit as I believe this is running server side. I put Info message and that shows up but debug doesn't work.