streamline entity saving; check for entity relationships