docs: function update (state, prefix, objectsOrIds, change) {
    if (typeof objectsOrIds !== 'object' && !change) {
      return Promise.reject(
        new Error('Must provide change')
      )
    }
  
    return Array.isArray(objectsOrIds)
      ? updateMany(state, objectsOrIds, change, prefix)
      : updateOne(state, objectsOrIds, change, prefix)
  }