add table relationships