Updated CRUD controller