identify relation by unique properties and update/merge/error