relationship refactor
removed ajax