Added relations to table