#2222 update the relationship if it already exists