update model/table relationships