adjust import and database migration