Map: add beginUpdate/endUpdate for batch map changes; add support for batch in the MP engine.