updated model and migration