updating range filter