refactor for relationships controller