updated back end for portfolio categories and other minor adjustments