Mongodb migration implemented