Made changes to relationships between tables