change relationship tables