test update portfolio

```portfolio is investor``` -> ```portfolio if investor```