update filter.rb