added logging class to update_json.py