update filtering API