added migration API for unification of orgs