update views after removal of a database