update hook - delete deprecated tables and columns