second update for map and reduce job