edited all relationships in models