update the filter