Implement update() and delete() methods.
Add unit tests for update() and delete() methods.