important changes to the references for portfolio_stocks