added database auto dump flag