update mongo shell for mapreduce