update and run migrations