archive and unarchive a portfolio