fix bug with summarydb not updating