updated CRUD example