Added script to update "relation.all_materialized"