updated portfolio codes