Like update_all for ActiveRecord models, but uses find_in_batches