relation editing for multiple selections