Support for multiple writes in mongo
Finish merge