updated incremental db update script to handle cases where no updates to do