fix: update entity relation.