Update map reduce views

Edit map reduce views, store views directly to databases