Added exceptions to update & delete functions