Replace Relation#update_all with conditions to use where().update_all

This corrects a deprecation warning and dependency on deprecated finders in Rails 4.0.0.beta.