changes to make some tables child tables