To do multible compids, use the following script:
php /var/www/html_j3sg/institutions/ChangeCompidOfAllInstitutionalAfewCompaniesAtATime.php
Please note that the script mentioned above (ChangeCompidOfAllInstitutionalAfewCompaniesAtATime) only updates the current13FFilingpositions table, no archived tables.

This script actual updates 13F current table as well as both archive13F tables.

We got coming in compid: : 168321
SELECT companies.* , sectors.level3des FROM companies, sectors WHERE companies.sector = sectors.level3num and compid = '168321'

The Shares Amount is 0

The cusip is 92859E207
NOT OLD

Retrive Rows from Table:
select * from current13Fpositions where cusip = '92859E207'
Number of Rows :21

update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '132578924'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '132140263'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '130614289'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '132010871'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '130860224'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '132248010'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '131971247'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '131085529'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '130189717'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '130403726'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '130478733'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '127273020'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '130355014'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '131366039'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '130467147'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '131556152'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '130807669'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '130682902'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '131739725'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '132384369'
update current13Fpositions set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' , percentOut = '0' where entryId = '132414697'
End Function

Retrive Rows from Table:
select * from archive13F where cusip = '92859E207'
Number of Rows :16

update archive13F set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' where entryId = '127248151'
update archive13F set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' where entryId = '129875718'
update archive13F set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' where entryId = '127254514'
update archive13F set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' where entryId = '127643410'
update archive13F set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' where entryId = '128675162'
update archive13F set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' where entryId = '127835759'
update archive13F set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' where entryId = '128972075'
update archive13F set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' where entryId = '129834317'
update archive13F set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' where entryId = '129321369'
update archive13F set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' where entryId = '129216484'
update archive13F set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' where entryId = '129065145'
update archive13F set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' where entryId = '128915776'
update archive13F set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' where entryId = '128602096'
update archive13F set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' where entryId = '127268604'
update archive13F set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' where entryId = '128711048'
update archive13F set compid = '168321', sectorNum = '999999', sectorDes = 'N/A', issuerCik = '0001716166' where entryId = '129520180'
End Function
The Script is complete, exiting....