Don't download database if already installed.

Update database on update and on install on the first installation.