edited model/table relationships