Change materialized relations to be mutable

* This branch will change materialized relations to be mutable