Made the view update itself after CRUD operations