Made same changes made to updateWhitelist.py

Removed truncate commands