Refactoring and reorder engine.js code.
Now change in map model will be update directly to engine's map objects