merge model-view