'Update the progress of a background update
Args:
txn(cursor): The transaction.
update_name(str): The name of the background update task
progress(dict): The progress of the update.'

def _background_update_progress_txn(self, txn, update_name, progress):

    progress_json = json.dumps(progress)
    self._simple_update_one_txn(txn, 'background_updates', keyvalues={'update_name': update_name}, updatevalues={'progress_json': progress_json})
