small improvements in database updater