More updates to db view/query