Mass edit in repo and restore previous portfolio.