Replaces all the tables and diagrams in arch.