add models in documents