Added update function to start/stop bash script