Added exceptions to update & delete functions
Merge pull request #251 from kbidarkar/update-exception

Added exceptions to update & delete functions