only download database on change