Revert "Revert "update db""

This reverts commit 545ac240ed49e4b9884b65f0dcec2ac1ccb517ce.