set path for mongodb