update models and migration scripts