Update portfolio.py