updates to db stat tool