Corrections in queries to mark table. Update was changed to batchUpdate.