changing the text when relation is present