added portfolio_contents connecting security_state to aggregate_portfolio