Replace `update_columns` to make it work with Rails 3