updates to database migration