Changed db jobs
wrote map-reduce job