updated index CRUD