update filter logic