Moved update method into main script