mapreduce update