modified main.js to update pie percentages as securities are added