Update filter directive.