update relationship model