Updates to work with Rails 4/4.1

ActiveRecord::Base#update_all only takes one argument since https://github.com/rails/rails/commit/1391d74e41b786d2f1a3a4ecf7fad1eda7e49622 which it seems was merged in for Rails 4.1