Scaled update script

Added some comments and scaled the script a little.