parseInt on arrayIndex in numSharesUpdate