set a filter + change spec content