fix if updatedb is needed