Added a lazy man's update function to script