Added update and delete functionality.
Added update and delete functionality.