update views after deleting