add filter config to template