refactored dbCache, use db widget instead of dbal