Rebuild db with latest data.