Update updater.py

updated the script to be more oo, added a logger