Updated example with search and delete functionality