commented out update command per machine
cleaned up some code