Make bulk_update compatible with Ruby 1.9