minor changes for update & delete with commented code (will remove in
next commit)