update data model relationship