revised models and migrate files