changing toggle and persistent attributes for issubclass