added process.exit for updatemongo