updates models and services to use model objects, and not DBObjects