delete works but view is not updated