test update portfolio