adding table relationships