updated filtering frontend