updated schema and migrated tables