Update table relation