Removed unnecessary comments and imports from update.py script