updating filter