Added update() method which should live reload the script