added lastdt
Update table with mapreduce result