changed migrations and models for new view