fixed db hook
visual overhaul