create model and migrate. update database