changing path for mongodb