Add update and delete for DB operation

Add update and delete for DB operation