prepare mongodb