Change has_many/belongs_to relationship