migrating towards mongodb