update filter.