Updating filter's factory function.