update spec for filter