adds related entity