Update table relationships