rebuilt tables and relationships