updated relationships in model.py