update added check for active relationships
update added active relation check