update mongodb mapreduce script