change references to models to kimobjects