change the database to new engine