Small fixes with updater and database