fixed database connection passing issues introduced in refactor
updated deps
summary data and small fixes