update logic
add filter