check if updatedb need to be call