storing the resource updates in a batch rather than individually.