update sbj/obj relation from sql finder to rails way