How to upgrade Automation/OCX variables to NAV 2013?

Currently I am working on one upgrade project from 2009 R2 to NAV 2013. Since the DB uses much OCX variables, the migration process seems to little difficult. If anybody can share the experience, it would be great help for me.