update relation test about inherits