Updates models and migrates