Changed the relation between tables