updated relationships controller