Fix update.py to handle nested blob path

Fixed update.py to handle cases where blob is a path and not a file, e.g. blob = path/to/file
Merge pull request #5 from dovreshef/patch-2

Fix update.py to handle nested blob path